﻿
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wq.Model;

namespace Wq.ManagerService.Entities
{
    /// <summary>
	/// 文件分类
	/// </summary>
	[Tenant("manager")]
    [SugarTable("Wq_Category")]
    public class CategoryInfo
    {
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(ColumnDescription = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }
        /// <summary>
        /// 文件类型 1 Image 2 视频
        /// </summary>
        [SugarColumn(ColumnDescription = "文件类型")]
        public int Type { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(ColumnDescription = "分类名称")]
        public string Name { get; set; }
        /// <summary>
        /// 文件数量
        /// </summary>
        [SugarColumn(ColumnDescription = "文件数量")]
        public int FileCount { get; set; }
        /// <summary>
        /// 供应商Id
        /// </summary>
        [SugarColumn(ColumnDescription = "供应商Id")]
        public long SupplierId { get; set; }
       
    }
}
